<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Jetson Inference: jetson-utils/imageLoader.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NVLogo_2D.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Jetson Inference
   </div>
   <div id="projectbrief">DNN Vision Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('imageLoader_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">imageLoader.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="imageLoader_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * copy of this software and associated documentation files (the &quot;Software&quot;),</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * to deal in the Software without restriction, including without limitation</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * the rights to use, copy, modify, merge, publish, distribute, sublicense,</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * and/or sell copies of the Software, and to permit persons to whom the</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * Software is furnished to do so, subject to the following conditions:</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * The above copyright notice and this permission notice shall be included in</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * all copies or substantial portions of the Software.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * DEALINGS IN THE SOFTWARE.</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#ifndef __IMAGE_LOADER_H_</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#define __IMAGE_LOADER_H_</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="videoSource_8h.html">videoSource.h</a>&quot;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="group__image.html">   52</a></span>&#160;<span class="keyword">class </span><a class="code" href="group__image.html#classimageLoader">imageLoader</a> : <span class="keyword">public</span> <a class="code" href="group__video.html#classvideoSource">videoSource</a></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;{</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        <span class="keyword">static</span> <a class="code" href="group__image.html#classimageLoader">imageLoader</a>* <a class="code" href="group__image.html#ae4c27a6cbfc414e50193debdea1fd09c">Create</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* path, <span class="keyword">const</span> <a class="code" href="group__video.html#structvideoOptions">videoOptions</a>&amp; options=<a class="code" href="group__video.html#structvideoOptions">videoOptions</a>() );</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;        </div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        <span class="keyword">static</span> <a class="code" href="group__image.html#classimageLoader">imageLoader</a>* <a class="code" href="group__image.html#ae4c27a6cbfc414e50193debdea1fd09c">Create</a>( <span class="keyword">const</span> <a class="code" href="group__video.html#structvideoOptions">videoOptions</a>&amp; options );</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="group__image.html#afb1939d2bbd24f54c419a33e1b1171d8">~imageLoader</a>();</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="group__image.html#a8b71a373faf66fb0c6e287acb8d5684c">Capture</a>( <span class="keywordtype">void</span>** image, <a class="code" href="group__imageFormat.html#ga931c48e08f361637d093355d64583406">imageFormat</a> format, uint64_t timeout=<a class="code" href="group__video.html#a8bc5b1b9a8bc15292890fef1028adbee">DEFAULT_TIMEOUT</a>, <span class="keywordtype">int</span>* status=NULL );</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="group__image.html#a1af7d6e4e3ad6232c67dcc1307509677">Open</a>();</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="group__image.html#ac06b32600a172fc0107ffe8240a13cb4">Close</a>();</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="group__image.html#a76136fd767f46d4e413bc1d7a279a75e">   94</a></span>&#160;        <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="group__image.html#a76136fd767f46d4e413bc1d7a279a75e">IsEOS</a>()<span class="keyword"> const                               </span>{ <span class="keywordflow">return</span> <a class="code" href="group__image.html#a5f64ea00d39cde4aaeeea3e2931eee97">mEOS</a>; }</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160; </div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="group__image.html#a4b196ca1c23d9322d5b9bba6e05e0bdf">   99</a></span>&#160;        <span class="keyword">virtual</span> <span class="keyword">inline</span> uint32_t <a class="code" href="group__image.html#a4b196ca1c23d9322d5b9bba6e05e0bdf">GetType</a>()<span class="keyword"> const         </span>{ <span class="keywordflow">return</span> <a class="code" href="group__image.html#a7ce41945601da456d9ea85324a4b90c0">Type</a>; }</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="group__image.html#a7ce41945601da456d9ea85324a4b90c0">  104</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="group__image.html#a7ce41945601da456d9ea85324a4b90c0">Type</a> = (1 &lt;&lt; 4);</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160; </div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="group__image.html#a46d3705032f0d45efab1ae07788a6e1a">  122</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__image.html#a46d3705032f0d45efab1ae07788a6e1a">SupportedExtensions</a>[];</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160; </div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="group__image.html#a521c2bbdb880d36025b696068013def9">IsSupportedExtension</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* ext );</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160; </div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        <a class="code" href="group__image.html#a5e8b816f3ebe2042b2d6cdd9ee70ed47">imageLoader</a>( <span class="keyword">const</span> <a class="code" href="group__video.html#structvideoOptions">videoOptions</a>&amp; options );</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160; </div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="group__image.html#ac24e527a753037e877e325d5b83f90d1">  134</a></span>&#160;        <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="group__image.html#ac24e527a753037e877e325d5b83f90d1">isLooping</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (<a class="code" href="group__video.html#aa3c05686659fae747ff8709be2c9b445">mOptions</a>.<a class="code" href="group__video.html#aa8e394eb896dd92fd39c0946c10dd1ea">loop</a> &lt; 0) || ((<a class="code" href="group__video.html#aa3c05686659fae747ff8709be2c9b445">mOptions</a>.<a class="code" href="group__video.html#aa8e394eb896dd92fd39c0946c10dd1ea">loop</a> &gt; 0) &amp;&amp; (<a class="code" href="group__image.html#aaae547119ca8f3b0d50d9de22669d6eb">mLoopCount</a> &lt; <a class="code" href="group__video.html#aa3c05686659fae747ff8709be2c9b445">mOptions</a>.<a class="code" href="group__video.html#aa8e394eb896dd92fd39c0946c10dd1ea">loop</a>)); }</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160; </div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="group__image.html#a5f64ea00d39cde4aaeeea3e2931eee97">  136</a></span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="group__image.html#a5f64ea00d39cde4aaeeea3e2931eee97">mEOS</a>;</div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="group__image.html#aaae547119ca8f3b0d50d9de22669d6eb">  137</a></span>&#160;        <span class="keywordtype">size_t</span> <a class="code" href="group__image.html#aaae547119ca8f3b0d50d9de22669d6eb">mLoopCount</a>;</div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="group__image.html#aefd0b79a822e896631231a7361e5f795">  138</a></span>&#160;        <span class="keywordtype">size_t</span> <a class="code" href="group__image.html#aefd0b79a822e896631231a7361e5f795">mNextFile</a>;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        </div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="group__image.html#a685a48790e244b1bd83f6059412b0087">  140</a></span>&#160;        std::vector&lt;std::string&gt; <a class="code" href="group__image.html#a685a48790e244b1bd83f6059412b0087">mFiles</a>;</div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="group__image.html#a5084e74d313b3cc1f732082dd51d0281">  141</a></span>&#160;        std::vector&lt;void*&gt; <a class="code" href="group__image.html#a5084e74d313b3cc1f732082dd51d0281">mBuffers</a>;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;};</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="avideoSource_8h_html"><div class="ttname"><a href="videoSource_8h.html">videoSource.h</a></div></div>
<div class="ttc" id="agroup__image_html_classimageLoader"><div class="ttname"><a href="group__image.html#classimageLoader">imageLoader</a></div><div class="ttdoc">Load an image or set of images from disk into GPU memory.</div><div class="ttdef"><b>Definition:</b> imageLoader.h:52</div></div>
<div class="ttc" id="agroup__image_html_aaae547119ca8f3b0d50d9de22669d6eb"><div class="ttname"><a href="group__image.html#aaae547119ca8f3b0d50d9de22669d6eb">imageLoader::mLoopCount</a></div><div class="ttdeci">size_t mLoopCount</div><div class="ttdef"><b>Definition:</b> imageLoader.h:137</div></div>
<div class="ttc" id="agroup__image_html_a76136fd767f46d4e413bc1d7a279a75e"><div class="ttname"><a href="group__image.html#a76136fd767f46d4e413bc1d7a279a75e">imageLoader::IsEOS</a></div><div class="ttdeci">bool IsEOS() const</div><div class="ttdoc">Return true if End Of Stream (EOS) has been reached.</div><div class="ttdef"><b>Definition:</b> imageLoader.h:94</div></div>
<div class="ttc" id="agroup__image_html_ac24e527a753037e877e325d5b83f90d1"><div class="ttname"><a href="group__image.html#ac24e527a753037e877e325d5b83f90d1">imageLoader::isLooping</a></div><div class="ttdeci">bool isLooping() const</div><div class="ttdef"><b>Definition:</b> imageLoader.h:134</div></div>
<div class="ttc" id="agroup__image_html_ac06b32600a172fc0107ffe8240a13cb4"><div class="ttname"><a href="group__image.html#ac06b32600a172fc0107ffe8240a13cb4">imageLoader::Close</a></div><div class="ttdeci">virtual void Close()</div><div class="ttdoc">Close the stream.</div></div>
<div class="ttc" id="agroup__image_html_a7ce41945601da456d9ea85324a4b90c0"><div class="ttname"><a href="group__image.html#a7ce41945601da456d9ea85324a4b90c0">imageLoader::Type</a></div><div class="ttdeci">static const uint32_t Type</div><div class="ttdoc">Unique type identifier of imageLoader class.</div><div class="ttdef"><b>Definition:</b> imageLoader.h:104</div></div>
<div class="ttc" id="agroup__image_html_a4b196ca1c23d9322d5b9bba6e05e0bdf"><div class="ttname"><a href="group__image.html#a4b196ca1c23d9322d5b9bba6e05e0bdf">imageLoader::GetType</a></div><div class="ttdeci">virtual uint32_t GetType() const</div><div class="ttdoc">Return the interface type (imageLoader::Type)</div><div class="ttdef"><b>Definition:</b> imageLoader.h:99</div></div>
<div class="ttc" id="agroup__image_html_a46d3705032f0d45efab1ae07788a6e1a"><div class="ttname"><a href="group__image.html#a46d3705032f0d45efab1ae07788a6e1a">imageLoader::SupportedExtensions</a></div><div class="ttdeci">static const char * SupportedExtensions[]</div><div class="ttdoc">String array of supported image file extensions, terminated with a NULL sentinel value.</div><div class="ttdef"><b>Definition:</b> imageLoader.h:122</div></div>
<div class="ttc" id="agroup__image_html_ae4c27a6cbfc414e50193debdea1fd09c"><div class="ttname"><a href="group__image.html#ae4c27a6cbfc414e50193debdea1fd09c">imageLoader::Create</a></div><div class="ttdeci">static imageLoader * Create(const char *path, const videoOptions &amp;options=videoOptions())</div><div class="ttdoc">Create an imageLoader instance from a path and optional videoOptions.</div></div>
<div class="ttc" id="agroup__image_html_a685a48790e244b1bd83f6059412b0087"><div class="ttname"><a href="group__image.html#a685a48790e244b1bd83f6059412b0087">imageLoader::mFiles</a></div><div class="ttdeci">std::vector&lt; std::string &gt; mFiles</div><div class="ttdef"><b>Definition:</b> imageLoader.h:140</div></div>
<div class="ttc" id="agroup__image_html_a5f64ea00d39cde4aaeeea3e2931eee97"><div class="ttname"><a href="group__image.html#a5f64ea00d39cde4aaeeea3e2931eee97">imageLoader::mEOS</a></div><div class="ttdeci">bool mEOS</div><div class="ttdef"><b>Definition:</b> imageLoader.h:136</div></div>
<div class="ttc" id="agroup__image_html_aefd0b79a822e896631231a7361e5f795"><div class="ttname"><a href="group__image.html#aefd0b79a822e896631231a7361e5f795">imageLoader::mNextFile</a></div><div class="ttdeci">size_t mNextFile</div><div class="ttdef"><b>Definition:</b> imageLoader.h:138</div></div>
<div class="ttc" id="agroup__image_html_afb1939d2bbd24f54c419a33e1b1171d8"><div class="ttname"><a href="group__image.html#afb1939d2bbd24f54c419a33e1b1171d8">imageLoader::~imageLoader</a></div><div class="ttdeci">virtual ~imageLoader()</div><div class="ttdoc">Destructor.</div></div>
<div class="ttc" id="agroup__image_html_a8b71a373faf66fb0c6e287acb8d5684c"><div class="ttname"><a href="group__image.html#a8b71a373faf66fb0c6e287acb8d5684c">imageLoader::Capture</a></div><div class="ttdeci">virtual bool Capture(void **image, imageFormat format, uint64_t timeout=DEFAULT_TIMEOUT, int *status=NULL)</div><div class="ttdoc">Load the next frame.</div></div>
<div class="ttc" id="agroup__video_html_aa8e394eb896dd92fd39c0946c10dd1ea"><div class="ttname"><a href="group__video.html#aa8e394eb896dd92fd39c0946c10dd1ea">videoOptions::loop</a></div><div class="ttdeci">int loop</div><div class="ttdoc">Control the number of loops for videoSource disk-based inputs (for example, the number of times that ...</div><div class="ttdef"><b>Definition:</b> videoOptions.h:119</div></div>
<div class="ttc" id="agroup__video_html_aa3c05686659fae747ff8709be2c9b445"><div class="ttname"><a href="group__video.html#aa3c05686659fae747ff8709be2c9b445">videoSource::mOptions</a></div><div class="ttdeci">videoOptions mOptions</div><div class="ttdef"><b>Definition:</b> videoSource.h:378</div></div>
<div class="ttc" id="agroup__image_html_a521c2bbdb880d36025b696068013def9"><div class="ttname"><a href="group__image.html#a521c2bbdb880d36025b696068013def9">imageLoader::IsSupportedExtension</a></div><div class="ttdeci">static bool IsSupportedExtension(const char *ext)</div><div class="ttdoc">Return true if the extension is in the list of SupportedExtensions.</div></div>
<div class="ttc" id="agroup__video_html_a8bc5b1b9a8bc15292890fef1028adbee"><div class="ttname"><a href="group__video.html#a8bc5b1b9a8bc15292890fef1028adbee">videoSource::DEFAULT_TIMEOUT</a></div><div class="ttdeci">static const uint64_t DEFAULT_TIMEOUT</div><div class="ttdoc">The default Capture timeout (1000ms)</div><div class="ttdef"><b>Definition:</b> videoSource.h:371</div></div>
<div class="ttc" id="agroup__video_html_structvideoOptions"><div class="ttname"><a href="group__video.html#structvideoOptions">videoOptions</a></div><div class="ttdoc">The videoOptions struct contains common settings that are used to configure and query videoSource and...</div><div class="ttdef"><b>Definition:</b> videoOptions.h:37</div></div>
<div class="ttc" id="agroup__image_html_a5e8b816f3ebe2042b2d6cdd9ee70ed47"><div class="ttname"><a href="group__image.html#a5e8b816f3ebe2042b2d6cdd9ee70ed47">imageLoader::imageLoader</a></div><div class="ttdeci">imageLoader(const videoOptions &amp;options)</div></div>
<div class="ttc" id="agroup__imageFormat_html_ga931c48e08f361637d093355d64583406"><div class="ttname"><a href="group__imageFormat.html#ga931c48e08f361637d093355d64583406">imageFormat</a></div><div class="ttdeci">imageFormat</div><div class="ttdoc">The imageFormat enum is used to identify the pixel format and colorspace of an image.</div><div class="ttdef"><b>Definition:</b> imageFormat.h:49</div></div>
<div class="ttc" id="agroup__image_html_a1af7d6e4e3ad6232c67dcc1307509677"><div class="ttname"><a href="group__image.html#a1af7d6e4e3ad6232c67dcc1307509677">imageLoader::Open</a></div><div class="ttdeci">virtual bool Open()</div><div class="ttdoc">Open the stream.</div></div>
<div class="ttc" id="agroup__image_html_a5084e74d313b3cc1f732082dd51d0281"><div class="ttname"><a href="group__image.html#a5084e74d313b3cc1f732082dd51d0281">imageLoader::mBuffers</a></div><div class="ttdeci">std::vector&lt; void * &gt; mBuffers</div><div class="ttdef"><b>Definition:</b> imageLoader.h:141</div></div>
<div class="ttc" id="agroup__video_html_classvideoSource"><div class="ttname"><a href="group__video.html#classvideoSource">videoSource</a></div><div class="ttdoc">The videoSource API is for capturing frames from video input devices such as MIPI CSI cameras,...</div><div class="ttdef"><b>Definition:</b> videoSource.h:118</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_54a0acf6da04fe2ed9410b4c6369bc5d.html">jetson-utils</a></li><li class="navelem"><a class="el" href="imageLoader_8h.html">imageLoader.h</a></li>
    <li class="footer">Generated on Tue Mar 28 2023 14:27:58 for Jetson Inference by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
